home *** CD-ROM | disk | FTP | other *** search
- on mouseUp
- if the videoForWindowsPresent = 1 then
- set the keyDownScript to "whichkey"
- puppetTransition(47, 1, 8)
- set myCD to CheckDrive("colvidp.dxr")
- append(the searchPath, myCD & "\")
- play frame "colsonvideo" of movie "colvidp.dxr"
- else
- alert("Sorry, Video for Windows is not present on this computer. To view the Engine Video, Video for Windows must be installed.")
- end if
- end
-
- on CheckDrive weirdfile
- repeat with i = 67 to 90
- set drive to numToChar(i)
- set thisPath to string(drive & ":\" & weirdfile)
- set myFile to new(xtra("fileio"))
- openFile(myFile, thisPath, 1)
- if status(myFile) = 0 then
- set myFile to 0
- return drive & ":"
- exit
- end if
- end repeat
- set myFile to 0
- alert("You must have the Colson CD-ROM in the drive to play CD")
- abort()
- end
-